package com.data.entity;


/**
 * 设备状态每周统计表
 * 根据状态分类统计每种状态持续时间及耗电
 * @author Administrator
 *
 */
public class StateWeek {
	   private Integer id;//主键，自增
	    private Integer equId;//设备id
		private String stateType;//设备状态
		private Integer belongYear;//所属年份
	    private Double duration;//持续时间(秒)
	    private Double relativeComp;//相对耗电
	    private Integer  belongWeek;//所属周  
	    
	    
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public Integer getEquId() {
			return equId;
		}
		public void setEquId(Integer equId) {
			this.equId = equId;
		}
		public String getStateType() {
			return stateType;
		}
		public void setStateType(String stateType) {
			this.stateType = stateType;
		}
		public Integer getBelongYear() {
			return belongYear;
		}
		public void setBelongYear(Integer belongYear) {
			this.belongYear = belongYear;
		}
		public Double getDuration() {
			return duration;
		}
		public void setDuration(Double duration) {
			this.duration = duration;
		}
		public Double getRelativeComp() {
			return relativeComp;
		}
		public void setRelativeComp(Double relativeComp) {
			this.relativeComp = relativeComp;
		}
		public Integer getBelongWeek() {
			return belongWeek;
		}
		public void setBelongWeek(Integer belongWeek) {
			this.belongWeek = belongWeek;
		}
}
